'use strict';

function choose_even(collection) {

  //在这里写入代码
  function Two (value)
  {
    if(value===0)
    {
      return true;
    }
    if(value%2===0)
    return value; 
  }
  let arr=collection.filter(Two);
  return arr;

}

module.exports = choose_even;
